<script setup lang="ts">
import {getCurrentInstance, ref} from "vue";
import {onShow} from "@dcloudio/uni-app";
import {useStore} from "vuex";


const store = useStore()
onShow(()=>{
  const {refs} = getCurrentInstance()
  store.dispatch("auth/setUToast", refs.uToast.show)
})
</script>

<template>
  <view class="u-content">
    <u-toast ref="uToast"></u-toast>
    <view class="u-content__circle">
      <u-icon
          name="checkbox-mark"
          color="#fff"
          size="30"
      ></u-icon>
    </view>
    <text class="u-content__normal">预约成功</text>
  </view>
</template>

<style scoped lang="scss">

</style>